<?php
	HtmlsHelper::ContentHeader('FAQs');
	
	echo "
		<div class='news-list'>
		  	<table width='100%' border='0'>
				<tbody>	
	";	
	
	foreach ($this->data[$this->name] as $faq)
	{
		echo "
            <tr class = 'list-row'>
            	<td valign='top'>
              		<a name = 'faq_{$faq['id']}'></a>
                	<h3>{$faq['question_text']}</h3>
                	<div style = 'padding-left: 0px; '>
						{$faq['answer_text']}
              		</div>
                	<p align='right'>
                  		<span class='date'>{$faq['answer_datetime']}</span>
                	</p>
              	</td>
            </tr>
            <tr>
             	<td colspan='3' align='center'><div></div></td>
            </tr>
		";
	}
		
	echo "
  				</tbody>
  			</table>
		</div>";
?>